package com.zhuss.bean.bo.core.part;

import java.io.Serializable;
import java.util.List;

import com.zhuss.common.BaseBo;
import com.zhuss.common.IdBo;


public class CreatePartBo extends IdBo  implements Serializable, BaseBo {


    /**
	 * 
	 */
	private static final long serialVersionUID = 4749446503323653376L;

    private Integer area;

    private List<String> pic;

    private Integer sort;

	public Integer getArea() {
		return area;
	}

	public void setArea(Integer area) {
		this.area = area;
	}
	
	public String getPic() {
		StringBuffer sb = new StringBuffer();
        if (pic != null && pic.size() > 0) {
            for (String item : pic) {
                sb.append(item);
                sb.append(",");
            }
            sb.deleteCharAt(sb.lastIndexOf(","));
        }
        return sb.toString();
	}
	
	public void setPic(List<String> pic) {
		this.pic = pic;
	}

	public Integer getSort() {
		return sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}
    
}